import App from './App'
import Vue from 'vue'
import store from '@/store/index.js' // 引入
import uView from '@/uni_modules/uview-ui'
import axios from '@/utils/request.js'


Vue.config.productionTip = false
Vue.prototype.$store = store // 定义
Vue.prototype.$http = axios
//引入svg组件
import IIcon from './components/IIcon.vue'
Vue.component('i-icon', IIcon)  //全局注册 i-icon
Vue.use(uView)
import TabBar from "@/components/tabbar.vue"
Vue.component('TabBar', TabBar);  


App.mpType = 'app'
const app = new Vue({
	store,
	axios,
	...App
})
app.$mount()
// # endif